home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Media 22
/
PC MEDIA CD22.iso
/
share
/
prog
/
spm220e
/
convert.doc
< prev
next >
Wrap
Text File
|
1995-10-09
|
2KB
|
44 lines
╔══════════════════════════════════════════════════════╗
║ ║
║ S E R I A L P O R T S M A N A G E R v 2.20 ║
║ ║
╚═════════════(C)opyRight. HETRU 1991-1995═════════════╝
13, chemin de la croix St Vincent
94430 CHENNEVIERES SUR MARNE
FRANCE
The only communication "protocol" distributed (in assembler, PASCAL,
and C) is the ASCII <-> HEXADECIMAL transcoding. Its main interest is
when you decide to use the Xon/Xoff hand-shaking (integrated in the
serial ports driver), whereas you have to transmit some binary data...
Otherwise, there could have confusion - to the driver level - between
data bytes and Xon/Xoff control bytes !
ATTENTION: To each hexa. bytes transcoded corresponds 2 ASCII bytes.
The speed of a link based on this transcoding will therefore be
divided by 2 ! THEREFORE: Use it WITH DISCERNMENT !...
For the arguments meaning, please refer to the listing associated
with the indicated procedures.
────────────
Constants:
────────────
No constants.
────────────────────
Globals variables:
────────────────────
No specials variables.
─────────────────────────────────────
Available procedures and functions:
─────────────────────────────────────
ConvAsc et ConvAscii:
Converts any hax. byte into 2 binaries associated to 2 ASCII characters
(whose hexa. codes are greater than 29h).
ConvHex et ConvHexa:
Converts 2 ASCII BINARIES codes into THE corresponding hexa. code.